// Agent gui_Alison in project swatJacamo

/* Initial beliefs and rules */

/* Initial goals */

!test_gui.

/* Plans */


+!test_gui
	<- 	makeArtifact("gui","artifact.ArtifactGuiAlison",[],Id);
		focus(Id).
		
+value(V)
	<-	 println("Value updated: ",V).

+ok : value(V)
	<-	 setValue(V+1).

+closed
	<- 	.my_name(Me);
		.kill_agent(Me).